package com.fira.edu.domain.dto;

import com.fira.common.core.domain.saas.base.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@SuperBuilder(toBuilder = true)
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="教室入参",description="租户教室管理入参")
public class EduClassroomDTO extends BaseDTO {
    @ApiModelProperty(value = "租户", required = true)
    private String tenantId;

    @ApiModelProperty(value = "部门", required = true)
    private String deptId;

    @NotBlank(message = "教室名称不能为空")
    @ApiModelProperty(value = "教室名称", required = true)
    private String classroomName;
}
